package com.tsit.study.dubbo.provider.feign.fallback;

import com.tsit.study.dubbo.provider.entity.User;
import com.tsit.study.dubbo.provider.feign.RemoteUserService;

import java.util.List;

/**
 * @author wangxuzhi
 * @date 2020/11/17 20:28
 */
public class UserServiceFallback implements RemoteUserService {

    @Override
    public List<User> getUserList() {
        System.out.println("服务熔断,远程服务调用异常==============================");
        return null;
    }
}
